// Constants for menu #define IDM_TEST 1 #define IDM_OUVRIR 2 #define IDM_EXIT 5 #define IDM_INFO 6 #define IDM_RCH1 7 #define IDI_ICON 500 500 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "Icon.ico" FirstMenu MENU { POPUP "&Fichier" { MENUITEM "&Ajout du Loader...",IDM_OUVRIR MENUITEM "&Vérifier", IDM_TEST MENUITEM SEPARATOR MENUITEM "E&xit",IDM_EXIT } POPUP "&?" { MENUITEM "&Recherche",IDM_RCH1 MENUITEM "&Info", IDM_INFO } } FirstMenu2 MENU { POPUP "&File" { MENUITEM "&Add the Loader...",IDM_OUVRIR MENUITEM "&Check", IDM_TEST MENUITEM SEPARATOR MENUITEM "E&xit",IDM_EXIT } POPUP "&?" { MENUITEM "&Search",IDM_RCH1 MENUITEM "&Info", IDM_INFO } } ;****************************** LISTVIEW ************************************************* // constants for dialog box #define IDC_EDIT 3000 #define IDC_BUTTON 3001 #define IDC_EXIT 3002 #define IDC_DLL 3006 #define DS_CENTER 0x0800L #define DS_CENTER 0x0800L #define WS_MINIMIZEBOX 0x00020000L #define WS_SYSMENU 0x00080000L #define WS_VISIBLE 0x10000000L #define WS_OVERLAPPED 0x00000000L #define DS_MODALFRAME 0x80L #define DS_3DLOOK 0x0004L #define WS_CAPTION 0xC00000L #define ES_AUTOHSCROLL 0x80L #define ES_LEFT 0 // Constants for menu MyDialog DIALOG 10, 10, 233,100 STYLE 0x0004 | DS_CENTER | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU | WS_VISIBLE | WS_OVERLAPPED | DS_MODALFRAME | DS_3DLOOK CAPTION "Fonctions disponibles" BEGIN ;EDITTEXT IDC_EDIT, 20,20,111,13, ES_AUTOHSCROLL | ES_LEFT ;DEFPUSHBUTTON "Say Hello", IDC_BUTTON, 141,10,52,13 ;PUSHBUTTON "E&xit", IDC_EXIT, 141,26,52,13 END MyDialogA DIALOG 10, 10, 233,100 STYLE 0x0004 | DS_CENTER | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU | WS_VISIBLE | WS_OVERLAPPED | DS_MODALFRAME | DS_3DLOOK CAPTION "Availables Functions" BEGIN ;EDITTEXT IDC_EDIT, 20,20,111,13, ES_AUTOHSCROLL | ES_LEFT ;DEFPUSHBUTTON "Say Hello", IDC_BUTTON, 141,10,52,13 ;PUSHBUTTON "E&xit", IDC_EXIT, 141,26,52,13 END ;**************************************************************************************** ;***************************** DialogBox2 de Recherche *************************************** #define IDC_EDIT 3000 #define IDC_BUTTON 3001 #define IDC_EXIT 3002 #define IDC_TEXT 3003 #define WS_EX_CLIENTEDGE 0x200L #define WS_BORDER 0x800000L #define SS_CENTERIMAGE 0x200L #define SS_SUNKEN 0x1000L #define WS_EX_DLGMODALFRAME 0x1L Recherche DIALOGEX MOVEABLE IMPURE LOADONCALL DISCARDABLE 10, 10, 200, 35, 0 STYLE DS_MODALFRAME | 0x0004 | DS_CENTER | WS_CAPTION | 0 | WS_VISIBLE | DS_3DLOOK CAPTION "Recherche d'une fonction :" FONT 8, "MS Sans Serif", 700, 0 BEGIN LTEXT "Ecrivez le nom complet ou partiel de la fonction à rechercher",IDC_TEXT,0,0,200,20,SS_CENTERIMAGE,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE EDITTEXT IDC_EDIT, 0,22,76,13, ES_AUTOHSCROLL | ES_LEFT DEFPUSHBUTTON "Rechercher", IDC_BUTTON, 78,22,60,13 PUSHBUTTON "R&etour", IDC_EXIT, 140,22,40,13 PUSHBUTTON "...", IDC_DLL, 182,22,17,13 END Search DIALOGEX MOVEABLE IMPURE LOADONCALL DISCARDABLE 10, 10, 200, 35, 0 STYLE DS_MODALFRAME | 0x0004 | DS_CENTER | WS_CAPTION | 0 | WS_VISIBLE | DS_3DLOOK CAPTION "Search a Function :" FONT 8, "MS Sans Serif", 700, 0 BEGIN LTEXT "Write the full or partial name of the function that you search",IDC_TEXT,0,0,200,20,SS_CENTERIMAGE,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE EDITTEXT IDC_EDIT, 0,22,76,13, ES_AUTOHSCROLL | ES_LEFT DEFPUSHBUTTON "Search", IDC_BUTTON, 78,22,60,13 PUSHBUTTON "B&ack", IDC_EXIT, 140,22,60,13 END ;********************************************************************************************* ;******************************* LIST VIEW 2 de RECHERCHE ************************************ #define IDM_RCHLISTVIEW2 3004 RechercheListView DIALOG 10, 10, 150,58 STYLE 0x0004 | DS_CENTER | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU | WS_VISIBLE | WS_OVERLAPPED | DS_MODALFRAME | DS_3DLOOK CAPTION "Fonctions trouvées" BEGIN ;EDITTEXT IDC_EDIT, 20,20,111,13, ES_AUTOHSCROLL | ES_LEFT ;DEFPUSHBUTTON "Say Hello", IDC_BUTTON, 141,10,52,13 ;PUSHBUTTON "E&xit", IDC_EXIT, 141,26,52,13 END RechercheListViewA DIALOG 10, 10, 150,58 STYLE 0x0004 | DS_CENTER | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU | WS_VISIBLE | WS_OVERLAPPED | DS_MODALFRAME | DS_3DLOOK CAPTION "Founded Functions :" BEGIN ;EDITTEXT IDC_EDIT, 20,20,111,13, ES_AUTOHSCROLL | ES_LEFT ;DEFPUSHBUTTON "Say Hello", IDC_BUTTON, 141,10,52,13 ;PUSHBUTTON "E&xit", IDC_EXIT, 141,26,52,13 END ;*********************************************************************************************